home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4243 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: mail2news.demon.co.uk!hpl3sn03.cern.ch
  2. From: Dan Pop <danpop@mail.cern.ch>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Unbuffered character input...
  5. Date: Fri, 2 Feb 1996 21:43:26 +0100
  6. Organization: CERN European Lab for Particle Physics
  7. Message-ID: <9602022043.AA13287@dxmint.cern.ch>
  8. References: <Pine.SGI.3.91.960129190205.27936A-100000@tahiti.cs.unm.edu> <4elf0t$5vd@ixnews2.ix.netcom.com> <4ep3a1$bee@hacgate2.hac.com> <DM2zCI.379@emr1.emr.ca> <9602011208.AA06949@dxmint.cern.ch> <4etiup$fig@airdmhor.gen.nz>
  9. X-NNTP-Posting-Host: hpl3sn03.cern.ch
  10. X-Newsreader: NN version 6.5.0 #7 (NOV)
  11. X-Mail2News-Path: dxmint.cern.ch!hpl3sn03.cern.ch
  12.  
  13. gumboot@airdmhor.gen.nz (Simon Hosie) writes:
  14.  
  15. >  What is the advantage of line buffering user input, anyway?
  16.  
  17. 1. It optimizes the cpu time spent on terminal I/O.  Not an issue on a
  18.    DOS box, but quite important on systems with hundreds of terminals.
  19.  
  20. 2. It gives the user a chance to correct the mistakes in his input
  21.    before pressing 'Return'.
  22.  
  23. 3. It allows C to be implemented on systems which only support line
  24.    buffered terminal I/O (i.e. terminals which won't send anything to the
  25.    computer before the 'Return' key has been pressed).
  26.  
  27. Dan
  28. -- 
  29. Dan Pop
  30. CERN, CN Division
  31. Email: danpop@mail.cern.ch 
  32. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  33.